package com.zhai.boot.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @package: com.zhai.boot.config
 * @project-name: zhai-boot
 * @description: rabbitMQ配置
 * @author: Created by 翟凤玺
 * @create-datetime: 2018-9-14 15:38
 */
@Configuration
public class RabbitMQConfig {

    @Bean
    public Queue zhaiQueue() {
        return new Queue("zhai");
    }

}
